package com.fy56.platform.logistics.service.wx;

import com.fy56.platform.logistics.common.Page;
import com.fy56.platform.logistics.common.ResultModel;
import com.fy56.platform.logistics.model.WithDrawMoneyMain;
import com.fy56.platform.logistics.model.WithdrawMoney;

import java.util.List;
import java.util.Map;


/**
 * @author
 * by Edwin Yang on 2018/2/26 0026.
 */
public interface WithdrawMoneyService extends IBaseSlaveService<WithdrawMoney>    {

    ResultModel validateOrder(String tenant , List<WithdrawMoney> withdrawMoneyList, String mobile);

    ResultModel addWithdraw(List<WithdrawMoney> withdrawMoneyLst,String code) throws Exception;

    String findWithdrawMoneyDetail(String withdrawNo,String mobile);

    Page<Map<String, Object>> findWithdrawLocal(String mobile, Integer pageCount, Integer pageIndex);

    String delWithdrawDetail(String withdrawNo,String orderNo);

    /**
     * 小程序主页取款信息
     *
     * @param vipNo
     * @return
     */
    List<WithDrawMoneyMain> searchWithDrawForIndex(String code,String vipNo);

    /**
     * 查询代收记录
     *
     * @param code 金融代码
     * @param telphone 手机号
     * @param state 提现的状态（已提现，可提现，待提现）
     * @param giveStartDate 开始日期（发放时间）
     * @param giveEndDate 结束日期（发放时间）
     * @param startDate 开始日期（开票日期）
     * @param endDate 结束日期（开票日期）
     * @return
     */
    ResultModel searchDeliveryCollectionInfo(String code, String telphone, String state, String giveStartDate,
                                             String giveEndDate, String startDate, String endDate);



}
